package com.db.williamchart.data;

public class DataPoint {

    private String label;
    private float value;
    private float screenPositionX;
    private float screenPositionY;

    public DataPoint(String label,
                     float value,
                     float screenPositionX,
                     float screenPositionY) {

        this.label = label;
        this.value = value;
        this.screenPositionX = screenPositionX;
        this.screenPositionY = screenPositionY;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public float getValue() {
        return value;
    }

    public void setValue(float value) {
        this.value = value;
    }

    public float getScreenPositionX() {
        return screenPositionX;
    }

    public void setScreenPositionX(float screenPositionX) {
        this.screenPositionX = screenPositionX;
    }

    public float getScreenPositionY() {
        return screenPositionY;
    }

    public void setScreenPositionY(float screenPositionY) {
        this.screenPositionY = screenPositionY;
    }
}
